package com.tiancheng.trade.order.vo.api;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @Author: likailun
 * @Description:
 * @Date: create in 2022/8/31 4:10 PM
 */
@Getter
@Setter
public class ScrmOrderQueryVO {
    // 页码
    @NotNull
    private int page;
    // 每页条数
    @NotNull
    private int size;
    // 用户id
    private String uid;
    // 业务场景（支持多个以,分隔）
    @NotNull
    private String orderSource;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTimeBegin;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTimeEnd;
}
